#include<iostream>
using namespace std;

//int main(int argc, char *argv[])
int main(int argc, char *argv[], char* env[])
{
	cout << "这是一个命令行参数表:" << endl;
	cout << argv[0] << "beign running:" << endl;
	for(int i = 0; argv[i] != nullptr; i++)
	{
		cout << i << " : " << argv[i] << endl;
	}
	cout << argv[0] << "end running:" << endl;
	cout << endl;
	cout << "这是一个环境变量参数表:" << endl;
	for(int i = 0; env[i] != nullptr; i++)
	{
		cout << i << " : " << env[i] << endl;
	}
	cout << endl;
//	cout << "Hello C++" << endl;
//	cout << "Hello C++" << endl;
//	cout << "Hello C++" << endl;
//	cout << "Hello C++" << endl;
//	cout << "Hello C++" << endl;
	return 0;
}
